πŸ“š Node [[one hot_encoding]] ⟢ subnode @KGBicheno/one hot_encoding
Nodes contain individual contributions whose filenames match your search. x

Loading pushes...

πŸ““ Artificial Intelligence/Introduction to AI/Week 3 - Introduction/Definitions/One-Hot_Encoding.md by @KGBicheno

one-hot encoding

Go back to the [[AI Glossary]]

A sparse vector in which:

  • One element is set to 1.
  • All other elements are set to 0.

One-hot encoding is commonly used to represent strings or identifiers that have a finite set of possible values. For example, suppose a given botany dataset chronicles 15,000 different species, each denoted with a unique string identifier. As part of feature engineering, you’ll probably encode those string identifiers as one-hot vectors in which the vector has a size of 15,000.

Rendering context...